@font-face {
  font-family: "tttgbnumber";
  src: url("../../font/tttgbnumber.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "HYWenHei-55W";
  src: url("../../font/HYWenHei-55W.ttf");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-size: 18px;
  color: #1e1f20;
  font-family: PingFangSC-Medium, PingFang SC, sans-serif;
  transform: scale(1.7);
  transform-origin: 0 0;
  width: 465px;
}

.container {
  width: 465px;
  padding: 20px 15px 10px 15px;
  background-color: #ececec;
}

.weapon_mode .for_talent {
  display: none !important;
}

.talent_mode .for_weapon {
  display: none !important;
}

.head_box {
  border-radius: 15px;
  font-family: tttgbnumber;
  padding: 10px 20px;
  position: relative;
  box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
}

.head_box .id_text {
  font-size: 24px;
}

.head_box .day_text {
  font-size: 20px;
}

.head_box .genshin_logo {
  position: absolute;
  top: 1px;
  right: 15px;
  width: 97px;
}

.logo {
  font-size: 12px;
  font-family: "tttgbnumber";
  text-align: center;
  color: #7994a7;
  position: relative;
  text-align: center;
  padding-left: 10px;
}

.logo span {
  position: absolute;
  right: 0px;
  font-size: 12px;
  transform: scale(0.8);
  transform-origin: right center;
}

.data_box {
  border-radius: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px 15px 5px 15px;
  background: #f5f5f5;
  box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
  position: relative;
}

.tab_lable {
  position: absolute;
  top: -10px;
  left: -8px;
  background: #a98242;
  color: #fff;
  font-size: 14px;
  padding: 3px 10px;
  border-radius: 15px 0px 15px 15px;
  z-index: 20;
  font-family: HYWenHei-55W;
}

.data_line {
  display: flex;
  justify-content: space-around;
  margin-bottom: 14px;
}

.data_line_item {
  width: 100px;
  text-align: center;
  /*margin: 0 20px;*/
}

.num {
  font-family: tttgbnumber;
  font-size: 24px;
}

.num .unit {
  font-size: 12px;
}

.data_box .lable {
  font-size: 14px;
  color: #7f858a;
  line-height: 1;
  margin-top: 3px;
}

.head_box {
  background-position-x: 42px;
  background-repeat: no-repeat;
  background-size: auto 101%;
}

.data_box {

}

.talent_list {
  display: table;
  border-collapse: collapse;
  width: calc(100% + 30px);
  margin: 0 -15px -5px;
  font-size: 12px;
  /* border-radius: 0 0 15px 15px; */
  overflow: hidden;
}

.talent_list .avatar {
  display: table-row;
  font-family: tttgbnumber;
}

.talent_list .avatar {
  display: table-row;
}

.talent_list .th {
  font-family: HYWenHei-55W;
}

.talent_list .avatar > div {
  box-shadow: 0 0 0.5px 0 #555 inset;
}

.talent_list .avatar:nth-child(odd) {
  background: #e0e0e0;
}

.talent_list .avatar:nth-child(even) {

}

.talent_list .avatar:nth-child(1) {
  background: #ccc;

}

.talent_list .avatar > div {
  display: table-cell;
  text-align: center;
  height: 30px;
  vertical-align: middle;
  line-height: 30px;
}

.talent_list .avatar .index {
  color: #333;
  width: 30px;
  padding-left: 5px;

}

.talent_list .avatar .name_cont {
  width: 80px;
}


.talent_list .avatar .star4 {
  background: rgba(137, 189, 233, .6);
}

.talent_list .avatar .star5 {
  background: rgba(239, 214, 137, .6);
}

.talent_list .avatar .name_cont {
  width: 80px;
}

.talent_list .avatar .name {
  text-align: left;
  display: flex;
  width: 80px;
}

.talent_list .th .name {
  justify-content: center;
}

.talent_list .avatar .name .avatar_img {
  width: 26px;
  height: 26px;
  position: relative;
  margin-right: 3px;
}

.talent_list .avatar .name img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: -3px;
  margin-left: 3px;
}

.talent_list .avatar .name .avatar_name {
  white-space: nowrap;
  overflow: hidden;
  width: 48px;
  font-family: "HYWenHei-55W";
}

.talent_list .avatar .res {
  font-size: 12px;
  width: 90px;
}

.talent_list .avatar .res img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.talent_list .avatar > div.lvl90 {
}

.talent_list .avatar > div.fetter10 {
  background: url("../../img/other/fetter10.png") center center no-repeat;
  background-size: contain;
}

.talent_list .cons span {
  display: inline-block;
  width: 14px;
  height: 18px;
  line-height: 18px;
  vertical-align: middle;
  border-radius: 4px;
  margin-bottom: 2px;
}

.talent_list .life0 {
  color: #666;
}

.talent_list .life1 {
  background-color: #71b167;
  color: #fff;
}

.talent_list .life2 {
  background-color: #369961;
  color: #fff;
}

.talent_list .life3 {
  background-color: #4596b9;
  color: #fff;
}

.talent_list .life4 {
  background-color: #4560b9;
  color: #fff;
}

.talent_list .life5 {
  background-color: #531ba9cf;
  color: #fff;
}

.talent_list .life6 {
  background-color: #ff5722;
  color: #fff;
}

.talent_list .avatar .weapon {
  text-align: left;
  width:148px;
}

.talent_list .avatar .weapon_1 {
  box-shadow: 0 0 4px 0 #a3a3a3 inset;
  background: #ebebebaa;
}

.talent_list .avatar .weapon_2 {
  box-shadow: 0 0 4px 0 #51b72fbd inset;
  background: #ddffdeaa;
}

.talent_list .avatar .weapon_3 {
  box-shadow: 0 0 4px 0 #396cdecf inset;
  background: #ddebffaa;
}

.talent_list .avatar .weapon_4 {
  box-shadow: 0 0 4px 0 #c539debf inset;
  background: #ffddf0aa;
}

.talent_list .avatar .weapon_5 {
  box-shadow: 0 0 4px 0 #deaf39 inset;
  background: #fff6dd;
}

.talent_list .avatar.th > div {
  box-shadow: none;
}

.talent_list .avatar.th .name,
.talent_list .avatar.th .weapon {
  text-align: center;
}


.talent_list .avatar .weapon_icon {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;

}

.talent_list .avatar .weapon_icon span {
  position: absolute;
  top: 0;
  right: 0;
  transform: scale(.5);
}

.talent_list .weapon img,
.talent_list .talent_res img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-bottom: 2px;
}


.talent_list .weapon .weapon_box {
  display: flex;
  align-items: center;
}

.talent_list .weapon .weapon_box span {

}

.talent_list .weapon .weapon_lv {
  width: 30px;
  margin-left: 8px;
}

.talent_list .weapon .weapon_alv {
  width: 14px;
  text-align: center;
  height: 18px;
  line-height: 18px;
  padding: 0 3px;
  border-radius: 4px;
  margin-right: 5px;
}

.talent_list .weapon .weapon_alv_0 {
  background-color: #555;
  color: #fff;
}

.talent_list .weapon .weapon_alv_1 {
  background-color: #45b97c;
  color: #fff;
}

.talent_list .weapon .weapon_alv_2 {
  background-color: #45abb9;
  color: #fff;
}

.talent_list .weapon .weapon_alv_3 {
  background-color: #4560b9;
  color: #fff;
}

.talent_list .weapon .weapon_alv_4 {
  background-color: #b545b9;
  color: #fff;
}

.talent_list .weapon .weapon_alv_5 {
  background-color: #ff5722;
  color: #fff;
}


.talent_list .weapon .weapon_name {
  flex-grow: 1;
  max-width: 60px;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 2px;
  margin-left: 2px;
  font-family: "HYWenHei-55W";
}

.talent_list .talent_res {
  color: #333;
}

.talent_list .talent_res.today_talent {
  box-shadow: 0 0 4px 0 #deaf39 inset;
  background: #fff6dd;
}


.talent_list .talent {
  color: #333;
}

.talent_list .avatar > div.talent_plus {

}

.talent_list .talent_plus {
  color: #006cc7;
  font-weight: bold;
  font-size: 13px;
  position: relative;
  text-shadow: 0px 0px 1px #fff;

}

.talent_list .lv1 {
  background: rgba(60, 63, 65, .3)
}

.talent_list .lv2 {
  background: rgba(23, 184, 58, .5)
}

.talent_list .lv2.talent_plus {
  color: #005800;
}

.talent_list .lv3 {
  background: rgba(27, 128, 212, .5)
}

.talent_list .lv4 {
  background: rgba(146, 90, 255, .55);
}

.talent_list .lv4.talent_plus {
  color: #720465;
}

.talent_list .lv5 {
  background: url("./crown.png") center center no-repeat rgba(255, 36, 26, .55);
  background-size: contain;
}

.talent_list .lv5.talent_plus {
  color: #b70000;

}

.talent_notice {
  color: #888;
  font-size: 12px;
  text-align: right;
  padding: 12px 5px 5px;
}